package com.bdqn.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bdqn.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface RoleService extends IService<Role> {

    Page<Role> findPage(Page page, @Param("roleName") String roleName);
    List<Role> findAll();
    boolean deleteById(Long id);
}
